package com.oa.bean.teaching;

import java.util.HashSet;
import java.util.Set;

import com.oa.bean.bazaar.Inten;
import com.oa.bean.work.Emp;

/**
 * 分班管理
 *
 */
public class Classes {

	private int classid;
	private String classname;// 班级名称
	private int classcount;// 班级人数
	private String classaddr;// 班级地址

	private Set<Inten> intens;
	
	private Set<Semester> semester;

	public Set<Semester> getSemester() {
		return semester;
	}

	public void setSemester(Set<Semester> semester) {
		this.semester = semester;
	}

	private Emp emp1;	//班主任
	
	private Emp emp2;	//辅导老师
	
	private Emp emp3;	//任课老师
	
	private Set<Seminar> seminars = new HashSet<Seminar>();

	public Set<Seminar> getSeminars() {
		return seminars;
	}

	public void setSeminars(Set<Seminar> seminars) {
		this.seminars = seminars;
	}

	public Emp getEmp1() {
		return emp1;
	}

	public void setEmp1(Emp emp1) {
		this.emp1 = emp1;
	}

	public Emp getEmp2() {
		return emp2;
	}

	public void setEmp2(Emp emp2) {
		this.emp2 = emp2;
	}

	public Emp getEmp3() {
		return emp3;
	}

	public void setEmp3(Emp emp3) {
		this.emp3 = emp3;
	}

	public Classes() {
	}

	public Classes(int classid, String classname, int classcount, String classaddr) {
		this.classid = classid;
		this.classname = classname;
		this.classcount = classcount;
		this.classaddr = classaddr;
	}

	public int getClassid() {
		return classid;
	}

	public void setClassid(int classid) {
		this.classid = classid;
	}

	public String getClassname() {
		return classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	public int getClasscount() {
		return classcount;
	}

	public void setClasscount(int classcount) {
		this.classcount = classcount;
	}

	public String getClassaddr() {
		return classaddr;
	}

	public void setClassaddr(String classaddr) {
		this.classaddr = classaddr;
	}

	public Set<Inten> getIntens() {
		return intens;
	}

	public void setIntens(Set<Inten> intens) {
		this.intens = intens;
	}

	@Override
	public String toString() {
		return "Classes [classid=" + classid + ", classname=" + classname + ", classcount=" + classcount
				+ ", classaddr=" + classaddr + ", intens=" + intens + "]";
	}

}
